package com.qiantu.phone.ui.activity;

import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;

import com.qiantu.phone.R;
import com.qiantu.phone.app.AppActivity;
import com.qiantu.phone.ui.fragment.SceneFragment;

public class SceneManageActivity extends AppActivity {

    private android.widget.FrameLayout sceneFragmentContainer;
    SceneFragment sceneFragment;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_scene_manage;
    }

    @Override
    protected void initView() {
        sceneFragmentContainer = findViewById(R.id.scene_fragment_container);
        FragmentManager fragmentManager = getSupportFragmentManager();
        FragmentTransaction transaction = fragmentManager.beginTransaction();
        sceneFragment = SceneFragment.newInstance(true, true, SceneFragment.SCENE_OPERATION);
        transaction.add(R.id.scene_fragment_container, sceneFragment);
        transaction.commit();
    }

    @Override
    protected void initData() {
    }
}